<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	response.setHeader("Cache-Control", "no-cache");
	response.setHeader("Pragma", "no-cache");
	response.addHeader("Cache-Control", "must-revalidate");
	response.addHeader("Cache-Control", "no-cache");
	response.addHeader("Cache-Control", "no-store");
	response.setDateHeader("Expires", 0);
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%><div class="portalBg">
	<s:iterator id="favorite" value="%{list}" status="stuts">
		<table class="dpFont" style="width: 100%;">
			<tr class="listTr">
				<td  align="left">
					●
					<a href="<s:property value="#favorite.url" />"
						title="<s:property value="#favorite.title" />"><font
						color="blue"> <s:if test="#favorite.title.length()>10">
								<s:property value="#favorite.title.substring(0,10)" />...</s:if> <s:else>
								<s:property value="#favorite.title" />
							</s:else> </font> </a>
				</td>
				<td width="50%" title="<s:property value="#favorite.content" />">
					<s:if test="#favorite.content.length()>10">
						<s:property value="#favorite.content.substring(0,10)" />...</s:if>
					<s:else>
						<s:property value="#favorite.content" />
					</s:else>
				</td>

			</tr>
		</table>
	</s:iterator>
	<table width="100%">
		<tr>
			<td align="right">
				<a href="favoriteAdmin.do"><img src="images/panelicon/more2.gif"
						alt="更多..." /> </a>
			</td>
		</tr>
	</table>
</div>

